Remove requirement for expected_update_period_in_days (since we default it if it doesn't exist)

Glenn 'devalias' Grant 10 years ago
parent
commit
f69617f6ae
1 changed files with 0 additions and 1 deletions
  1. 0 1
      app/models/agents/weather_agent.rb

+ 0 - 1
app/models/agents/weather_agent.rb

@@ -86,7 +86,6 @@ module Agents
86 86
       errors.add(:base, "location is required") unless location.present?
87 87
       errors.add(:base, "api_key is required") unless key_setup?
88 88
       errors.add(:base, "which_day selection is required") unless which_day.present?
89
-      errors.add(:base, "expected_update_period_in_days is required") unless options['expected_update_period_in_days'].present?
90 89
     end
91 90
 
92 91
     def wunderground